<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="mytags" prefix="math" %>

<html>
<head><s:head /></head>
<body>
	<h1>Struts 2 Hello World Example</h1>
	<s:text name="global.username" />
	
	<s:form action="Welcome" method="POST" >
		<s:actionerror />
		<s:textfield name="username" key="global.username" />
		<s:password name="password" key="global.password" />
		<s:textfield name="email" key="global.email" />
		
		<s:select key="role" list="roles" />
		
		<s:submit />
	</s:form>
	
	<math:add num1="23" num2="33" />
 
</body>
</html>